<template>
  <div class="order-wrapper">
  	<mt-header fixed title="个人信息">
      <router-link to="/home/my" slot="left">
		    <mt-button icon="back">返回</mt-button>
		  </router-link>
    </mt-header>
    <div class="order-wrapper-context">
      <div class="myhome-userimg">
        <div class="gogo-font">头像</div>
        <img src="../../assets/logo.png" alt="">
      </div>
      <div>
        <mt-cell title="昵称" :value="$store.state.user.username"></mt-cell>
        <mt-cell title="手机号" :value="$store.state.user.userid"></mt-cell>
        <mt-cell title="性别" :value="$store.state.user.usersex"></mt-cell>
        <mt-cell title="车牌号" :value="$store.state.user.usercar"></mt-cell>
        <mt-cell title="月接单总量" :value="$store.state.user.yeartotal"></mt-cell>
        <mt-cell title="年接单总量" :value="$store.state.user.monthtotal"></mt-cell>
      </div>
    </div>
  </div>
</template>

<script>
import axios from '@/api/axios';
import { mapGetters, mapMutations} from 'vuex';
import { Toast, MessageBox, Indicator } from 'mint-ui';
export default {
	data: function () {
		return {
      userinfo: this.getId(),
    }
  },
  created: function () {
  },
  methods: {
    ...mapGetters(['getId']),
  }
}
</script>

<style>
  @import '../../assets/css/mypages/my.css';
</style>
